//穿梭框左侧选中
$("#shuttle_box_left").on('click', 'li', function () {
    if ($(this).hasClass('shuttle_box_li_act')) {
        $(this).removeClass('shuttle_box_li_act');
    } else {
        $(this).addClass('shuttle_box_li_act');
    }
});
//穿梭框右侧选中
$("#shuttle_box_right").on('click', 'li', function () {
    if ($(this).hasClass('shuttle_box_li_act')) {
        $(this).removeClass('shuttle_box_li_act');
    } else {
        $(this).addClass('shuttle_box_li_act');
    }
});
//向右移动
$("#shuttle_box_toRight").click(function () {
    if ($("#shuttle_box_left .shuttle_box_li_act").length == 0) return false;

    $("#shuttle_box_left").find('.shuttle_box_li_act').appendTo("#shuttle_box_right");
    $("#shuttle_box_right li").removeClass('shuttle_box_li_act');


});
//向左移动
$("#shuttle_box_toLeft").click(function () {
    if ($("#shuttle_box_right .shuttle_box_li_act").length == 0) return false;

    $("#shuttle_box_right .shuttle_box_li_act").appendTo("#shuttle_box_left");
    $("#shuttle_box_left li").removeClass('shuttle_box_li_act');
});


//穿梭框左侧选中
$("#shuttle_box_left_1").on('click', 'li', function () {
    if ($(this).hasClass('shuttle_box_li_act')) {
        $(this).removeClass('shuttle_box_li_act');
    } else {
        $(this).addClass('shuttle_box_li_act');
    }
});
//穿梭框右侧选中
$("#shuttle_box_right_1").on('click', 'li', function () {
    if ($(this).hasClass('shuttle_box_li_act')) {
        $(this).removeClass('shuttle_box_li_act');
    } else {
        $(this).addClass('shuttle_box_li_act');
    }
});
//向右移动
$("#shuttle_box_toRight_1").click(function () {
    if ($("#shuttle_box_left_1 .shuttle_box_li_act").length == 0) return false;

    $("#shuttle_box_left_1").find('.shuttle_box_li_act').appendTo("#shuttle_box_right_1");
    $("#shuttle_box_right_1 li").removeClass('shuttle_box_li_act');


});
//向左移动
$("#shuttle_box_toLeft_1").click(function () {
    if ($("#shuttle_box_right_1 .shuttle_box_li_act").length == 0) return false;

    $("#shuttle_box_right_1 .shuttle_box_li_act").appendTo("#shuttle_box_left_1");
    $("#shuttle_box_left_1 li").removeClass('shuttle_box_li_act');
});
